﻿window.onload = function(){
    //下载弹框
    var fugans = document.getElementsByClassName("xiazai");
    console.log(fugans);
    for(var i=0;i<fugans.length;i++){
        var j = fugans[i];
        j.index = i;
        j.onclick = function(){
            i = this.index;
            cover.style.display = "block";
            tishi.style.display="block";
        };
    }
    quxiao.onclick = function(){
        cover.style.display = "none";
        tishi.style.display="none";
    }
  
    kehuduan.onclick = function(){
        this.href="http://m.kugou.com/plist/list/202554";
    }
    dbtn.onclick = function(){
        cover.style.display = "block";
        tishi.style.display="block";
    }
}